﻿using System;
using Caliburn.Micro;

namespace OsmerFvg.ViewModels
{
    public class RadarZoomViewModel : Screen
    {

        private readonly INavigationService _navigationService;

        public RadarZoomViewModel(INavigationService navigationService)
        {
            _navigationService = navigationService;
        }


        private string _pageHeaderText;
        public string PageHeaderText
        {
            get { return _pageHeaderText; }
            set
            {
                if (_pageHeaderText != value)
                {
                    _pageHeaderText = value;
                    NotifyOfPropertyChange(() => PageHeaderText);
                }
            }
        }


        private Uri _firstImageSource;
        public Uri FirstImageSource
        {
            get { return _firstImageSource; }
            set
            {
                if (_firstImageSource != value)
                {
                    _firstImageSource = value;
                    NotifyOfPropertyChange(() => FirstImageSource);
                }
            }
        }

        private Uri _secondImageSource;
        public Uri SecondImageSource
        {
            get { return _secondImageSource; }
            set
            {
                if (_secondImageSource != value)
                {
                    _secondImageSource = value;
                    NotifyOfPropertyChange(() => SecondImageSource);
                }
            }
        }

        public void BackTapCommand()
        {
            _navigationService.GoBack();
        }

    }
}
